#pragma once

#include "CustomMesh.h"

class Cube
	: public CustomMesh
{
public:
	Cube();
	~Cube();

	void Update(double dt);
	void Draw(ID3DXSprite& sprite, D3DXMATRIX& view, D3DXMATRIX& proj);

protected:
	void BuildVertexBuffer();
	void BuildIndexBuffer();

private:
	float mAngle;

	static const int NB_VERTICES = 8;
	static const int NB_FACES = 12;
};

